/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.psdk.local;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.qihoo.psdk.QPushAgent;
import com.qihoo.psdk.util.h;

public class QBootReceiver extends BroadcastReceiver {
    public static boolean a = false;

    public void onReceive(Context paramContext, Intent paramIntent) {
        String str = paramIntent.getAction();
        h.a("QBootReceiver", "action: " + str);
        if ((!("android.intent.action.BOOT_COMPLETED".equals(str)))
                && (!("android.net.conn.CONNECTIVITY_CHANGE".equals(str))))
            return;
        a = true;
        QPushAgent.init(paramContext);
        a = false;
    }
}